package com.example.zhangxuemin.fragmenttest130zxm.service;

import com.example.zhangxuemin.fragmenttest130zxm.bean.UserBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by zhangxuemin on 2017/5/31.
 */

public interface LoginService {
    @GET("api.php/login")
    Call<UserBean> login(@Query("username") String username,
                         @Query("password") String password);

}
